﻿@model IEnumerable<kxcxw.Data.Entities.SysItemInfo>
@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Admin/Views/Shared/_DictLayout.cshtml";
}
<h2>
    @Html.ActionLink("大类管理", "Index") &raquo; @Html.ActionLink("大类列表", "Index", null, new { @class = "active" })</h2>
<div id="main">
    <table>
        <tr>
            <th>
                类别名称
            </th>
            <th>
                类别描述
            </th>
            <th>
                操作
            </th>
        </tr>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.ItemName)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.itemDescription)
                </td>
                <td class="action">
                    @Html.ActionLink("修改", "Edit", new { id = item.ItemID }, new { @class = "edit" })
                    |
                    @Html.ActionLink("查看", "Details", new { id = item.ItemID }, new { @class = "view" })
                    |
                    @Html.ActionLink("删除", "Delete", new { id = item.ItemID }, new { @class = "delete" })
                </td>
            </tr>
        }
    </table>
</div>
